package ace.module.product.core.impl.dao.model.bo;

import ace.cmp.data.spring.data.jdbc.querydsl.rsql.core.model.SaveContext;
import ace.cmp.data.spring.data.jdbc.querydsl.rsql.core.model.SaveListContext;
import ace.module.product.core.impl.dao.entity.PmsCommonGallery;
import ace.module.product.core.impl.dao.entity.PmsProductDetail;
import ace.module.product.core.impl.dao.entity.PmsProductSku;
import ace.module.product.core.impl.dao.entity.PmsProductSkuAttributeValue;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.SuperBuilder;

/**
 * .
 * @author Caspar
 *
 */
@Data
@SuperBuilder
@NoArgsConstructor
@AllArgsConstructor
public class PmsProductSkuSaveBo {

  @Schema(title = "商品sku")
  private SaveContext<PmsProductSku> productSku;

  @Schema(title = "商品sku属性值")
  private SaveListContext<PmsProductSkuAttributeValue> productSkuAttributeValue;

  @Schema(title = "商品sku主图")
  private SaveContext<PmsCommonGallery> productSkuMainImage;

  @Schema(title = "商品sku详情")
  private SaveListContext<PmsProductDetail> productSkuDetails;
}
